#include "uppg5.h"


uppg5::uppg5()
{
	this->x = 1;
	this->y = 2;
	this->z = 3;
}


uppg5::~uppg5()
{
}

void uppg5::run(){
	a = x + y - 2 / 2 + z;
	cout << "a = " << x << " + " << y << " - 2 / 2 + " << z << " = " << a << endl;
	a = x + (y - 2) / (2 + z);
	cout << "a = " << x << " + (" << y << " - 2) / (2 + " << z << ") = " << a << endl;
}